|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OMStrategy
negotiator.boaframework.omstrategy.BestBid
public class BestBid
This class uses an opponent model to determine the next bid for the opponent, while taking the opponent's preferences into account. The opponent model is used to select the best bid.
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OMStrategy |
|---|
model, negotiationSession |
| Constructor Summary | |
|---|---|
BestBid()
Empty constructor for the BOA framework. |
|
BestBid(NegotiationSession negotiationSession,
OpponentModel model)
Normal constructor used to initialize the BestBid opponent model strategy. |
|
| Method Summary | |
|---|---|
boolean |
canUpdateOM()
The opponent model may be updated, unless the time is higher than a given constant. |
BidDetails |
getBid(java.util.List<BidDetails> allBids)
Returns the best bid for the opponent given a set of similarly preferred bids. |
void |
init(NegotiationSession negotiationSession,
OpponentModel model,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the opponent model strategy. |
| Methods inherited from class negotiator.boaframework.OMStrategy |
|---|
getBid, getBid, init, setOpponentModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BestBid()
public BestBid(NegotiationSession negotiationSession,
OpponentModel model)
negotiationSession - symbolizing the negotiation state.model - used by the opponent model strategy.| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
OpponentModel model,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
init in class OMStrategynegotiationSession - state of the negotiation.model - opponent model used in conjunction with this opponent modeling strategy.parameters - set of parameters for this opponent model strategy.
java.lang.Exception - thrown when initializing the opponent model strategy fails.public BidDetails getBid(java.util.List<BidDetails> allBids)
getBid in class OMStrategylist - of the bids considered for offering.
public boolean canUpdateOM()
canUpdateOM in class OMStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||